package org.ky.generator.config;

/**
 * 生成器配置信息
 * 
 * @author K.y
 *
 */
public class GeneratorCofig {
	private GeneratorCofig() {
	}

	/** 生成文件 编码格式 */
	public static final String UTF8 = "utf-8";
	/** 基础包目录 */
	private static String targetPackage = "hdic.cloudsystem.infrastructure";
	/* 本地数据库链接配置 */
	/* 默认MySQL数据库链接驱动类 */
	private static String db_driverClass = "com.mysql.cj.jdbc.Driver";
	/** 数据库地址 */
	private static String db_url = "jdbc:mysql://127.0.0.1:3306/hdic_wj_cs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true";
	/** 数据库用户名 */
	private static String db_username = "root";
	/** 数据库密码 */
	private static String db_password = "qweR123@mysql";

	public static String getTargetPackage() {
		return targetPackage;
	}

	public static String getDBDriverCls() {
		return db_driverClass;
	}

	public static String getDBUrl() {
		return db_url;
	}

	public static String getDBUsername() {
		return db_username;
	}

	public static String getDBPassword() {
		return db_password;
	}
}
